<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title></title>
<link href="houtai/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="houtai/js/main.js"></script>

</head>
<body>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="3">
  <tr>
    <td style="height:25px; background-color:#f3f3f3; font-weight:bold" valign="top">
    &nbsp;&nbsp;&nbsp;&nbsp;当前位置：
    <img src="houtai/images/arrow.gif" align="absmiddle">&nbsp;&nbsp;soda创业教育平台&nbsp;&nbsp;
    <img src="houtai/images/arrow.gif" align="absmiddle">&nbsp;&nbsp;后台管理&nbsp;&nbsp;
    <img src="houtai/images/arrow.gif" align="absmiddle">&nbsp;&nbsp;课程管理</td>
  </tr>
  <tr>
    <td style="height:34px; background-image:url(houtai/images/main_header.gif); border-bottom:1px solid #cfd8e0; padding:0px">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="20" height="34"><img src="houtai/images/main_headerL.gif" width="20" height="34"></td>
          <td style="color:#90c8e8;"><img src="houtai/images/icon_card.gif" width="16" height="16" align="absmiddle">&nbsp;&nbsp;<strong>课程信息</strong></td>
          <td align="right" class="white" style="padding-right:20px">
          <a href="javascript:history.go(-1);" class="barBtn" ><img src="houtai/images/btn_left.gif" align="absmiddle"> 后退</a>
          <a href="javascript:history.go(+1);" class="barBtn" ><img src="houtai/images/btn_right.gif" align="absmiddle"> 前进</a>
          <a href="javascript:history.go(0);" class="barBtn"><img src="houtai/images/btn_refresh.gif" align="absmiddle"> 刷新</a>
          </td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td height="100%" valign="top">
    <div style="overflow:auto;height:100%; width:100%">
      <table width="100%" border="0" cellpadding="3" cellspacing="1" class="table1">
      	<TR>
          <th width="20%" align="center" colspan="2">课程信息</th>
          </TR>
        <TR>
        <TR>
          <th width="20%" align="center">课程名</th>
          <TD class="BGCgray" ><span>${CourseById.couName}</span></TD>
          </TR>
        <TR>
          <th align="center">上课地点</th>
          <TD width="80%" class="BGCgray">
          	<span>${CourseById.couAddress}</span>
          </TD>
          </TR>
        <TR>
          <th align="center"><span class="BGCgray">课程类型</span></th>
          <TD class="BGCgray">
          <span>${CourseById.couType==1?"现场课程":CourseById.couType==0?"在线课程":"未知错误"}</span>
          </TD>
        </TR>
        <TR>
          <th align="center">状态</th>
          <TD class="BGCgray" >
          <span>${CourseById.couState==1?"可报名":CourseById.couState==2?"报名结束":CourseById.couState==3?"可购买":CourseById.couState==4?"已下架":"未知错误"}</span>
          </TD>
        </TR>
        <TR>
          <th align="center">开课时间</th>
          <TD class="BGCgray">
			<span>${CourseById.couOpentime}</span>
          </TD>
        </TR>
        <TR>
          <th align="center">预计结课时间</th>
          <TD class="BGCgray" >
			<span>${CourseById.couEndtime}</span>
          </TD>
        </TR>
        <TR>
          <th align="center">讲师</th>
          <TD class="BGCgray" >
          	<span>${CourseById.user.useName}</span>
          </TD>
        </TR>
        <TR>
          <th align="center">费用</th>
          <TD class="BGCgray" >
          	<span>${CourseById.couMoney}</span>
          </TD>
        </TR>
      </table>
      <div style="width:100%; text-align:center; padding:5px">
      	<BUTTON style="HEIGHT:25px" onClick="javascript:if (confirm('查看该信息？')) location.href='<%=request.getContextPath()%>/CourseServlet?id=${CourseById.couId }&param=showStudents';else return;"><img src="houtai/images/btn_search.gif" width="16" height="16" align="absmiddle"> 学生信息</BUTTON>
        <BUTTON style="HEIGHT:25px" onClick="javascript:history.go(-1);"><img src="houtai/images/btn_back.gif" width="16" height="16" align="absmiddle"> 返回</BUTTON>
      </div>
    </div>
  </td>
  </tr>
</table>
</body>
</html>